package com.gxa.employment.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;

@Getter
@Setter
@ToString
@TableName("v_clazz_student")
public class ClazzStudent implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 班级编号
     */
    @TableId(value = "clazz_id", type = IdType.AUTO)
    private Integer clazzId;

    /**
     * 班级名称
     */
    @TableField("clazz_name")
    private String clazzName;


    /**
     * 班级人数
     */
    @TableField("real_student")
    private Integer realStudent;

    /**
     * 就业开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate clazzStart;


    /**
     * 就业结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate clazzEnd;

    /**
     * 项目经理
     */
    @TableField("clazz_manager")
    private String clazzManager;

    /**
     * 班主任
     */
    @TableField("clazz_teacher")
    private String clazzTeacher;

    /**
     * 就业状态：未开始，完成，未完成，结束
     */
    @TableField("clazz_status")
    private String clazzStatus;
    @TableField("clazz_days")
    private String clazzDays;

    /**
     * 未就业人数
     */

    @TableField("unemployed_count")
    private Integer unemployedCount;

    /**
     * 就业率
     */
    @TableField("employment_rate")
    private Double employmentRate;
}
